using Proto;

namespace sgf.server
{
    public interface IBusActor : IActor
    {
        //Incarnated -> Started ->  Alive ->Stopping -> Restarting ->  Stopped

        public Task OnStart(IContext context);

        public Task OnRestart(IContext context);

        public Task OnStop(IContext context);

        public Task OnMsg(IContext context);
    }
}